<?php 

$sql = 'UPDATE `products_item_codes` SET `brand_name`=? WHERE `products_id` =?';
$eintrag = $db->prepare( $sql );
$eintrag->bind_param('sd', $brand, $id);
$eintrag->execute();


?>